package com.zzjson.rabbit.consumer;

import lombok.extern.slf4j.Slf4j;
import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

/**
 * <p>****************************************************************************</p>
 * <p><b>Copyright © 2010-2019 shuncom team All Rights Reserved<b></p>
 * <ul style="margin:15px;">
 * <li>Description : com.zzjson.rabbit.consumer</li>
 * <li>Version     : 1.0.0</li>
 * <li>Creation    : 2019年04月27日</li>
 * <li>@author     : zzy0_0</li>
 * </ul>
 * <p>****************************************************************************</p>
 */
@Slf4j
public class FourthConsumer implements MessageListener {

	@Override
	public void onMessage(Message message) {
		log.info("The fourth consumer received message : " + message);
	}
}